<div style="overflow-x: hidden;">
    <div id="searchBlock" style="padding: 2% 8% 0 2%;">
        <form id="searchForm">
            <div class="row">
                <div class="col-md-6 form-horizontal">
                    <div class="form-group">
                        <label class="col-md-3 control-label" for="date1">日期:</label>
                        <div class="col-md-4">
                            <input id="date1" class="form-control" type="text" name="date1"/>
                        </div>
                        <label style="float: left">~</label>
                        <div class="col-md-4">
                            <input id="date2" class="form-control" type="text" name="date2"/>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 form-horizontal">
                    <div class="form-group">
                        <label for="projectName" class="col-md-4 control-label"></span>所属项目:</label>
                        <div class="col-md-8">
                            <select class="form-control" id="projectName" name="projectName">
                                <option value="" disabled selected style='display:none;'>请选择</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 form-horizontal">
                    <div class="form-group">
                        <label for="taskName" class="col-md-4 control-label"></span>所属任务:</label>
                        <div class="col-md-8">
                            <select class="form-control" id="taskName" name="taskName">
                                <option value="" disabled selected style='display:none;'>请选择</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row" style="text-align: center;margin: 2% 0;">
                <button id="btnSearch" class="btn btn-default" type="button">查询</button>
                <button id="btnReset" class="btn btn-default" type="button">重置</button>
                <button id="downLoad" class="btn btn-default" type="button">下载外业数据</button>
                <button id="upLoad" class="btn btn-default" type="button">上传外业数据</button>
            </div>
        </form>
    </div>
    <div id="barChart" style="height: 360px;"></div>
</div>

<!-- 模态框（Modal） -->
<div class="modal fade" id="uploadModal" tabindex="-1" role="dialog" aria-labelledby="uploadModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="uploadModalLabel">上传外业数据</h4>
            </div>
            <div class="modal-body">
                <ul>
                    <li>
                        一、请选择要上传的业务。
                        <select class="form-control" id="uploadSelect" name="uploadTable" style="height: 24px;width: 20%;display: inline-block;padding: 0px 12px">
                            <option value="" disabled selected style='display:none;'>请选择</option>
                        </select>
                    </li>
                    <li>
                        二、请按照数据模板的格式准备要导入的数据。
                        <a href="" id="downloadZwExcelTemplate">下载数据模板</a>
                    </li>
                    <li>三、请认真阅读Excle模板文件中的<span style="color: red">注意事项</span>。</li>
                    <li>四、请选择需要导入的Excel文件。</li>
                </ul>
                <form id="uploadForm">
                    <input type="file" id="uploadFile" name="uploadFile" accept=".xls"/>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" id="uploadButton" class="btn btn-primary">确定</button>
                <button type="button" id="delGw" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>